//
//  MLArticleComment.h
//  Molian
//
//  Created by wansong on 4/2/15.
//  Copyright (c) 2015 xiaocan. All rights reserved.
//
//  对文章的评论

#import <AVOSCloud/AVOSCloud.h>

/*
 * @enum MLArticleCommentType 评论的类型
 */
typedef NS_ENUM(NSInteger, MLArticleCommentType)
{
    MLArticleCommentType_NORMAL = 0, // 普通评论
    MLArticleCommentType_REPLY = 1, // 回复
};

@interface MLArticleComment : AVObject<AVSubclassing>

// 评论的类型
@property NSInteger type;

@property NSInteger status;;


// 评论的对象, MLArticle
@property (nonatomic, strong) AVObject *article;

// 回复的用户, 当类型是回复的时候必填
@property (nonatomic, strong) AVObject *reply_user;

// 评论的内容
@property (nonatomic, strong) NSString *content;

// 评论的用户
@property (nonatomic, strong) AVObject *user;

@end
